1856. Maximum Subarray Min-Product full solution